package com.example.api.query;

import java.util.Calendar;
import java.util.Date;

public class XX {
    public static void main(String[] args) {



        Calendar calendar = Calendar.getInstance();

        System.out.println(calendar.getTime().toLocaleString());

        calendar.add(Calendar.MINUTE,-30);


        System.out.println(calendar.getTime().toLocaleString());


    }
}
